home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility3 / makemdi2.zip / RESOURCE.H < prev    next >
C/C++ Source or Header  |  1992-11-25  |  4KB  |  142 lines

  1. #ifndef _INC_RESOURCE
  2. #define _INC_RESOURCE
  3. // ==========================================================Purpose 
  4. // RESOURCE.H - Application resource definitions. 
  5. // 
  6. // MAKEMDI adaptation of Windows 3.1 SDK MAKEAPP system. 
  7. // 
  8. // MDI application design based on Chapter 7 of     
  9. // "Windows 3: A Developer's Guide" by Jeffrey Richter. 
  10. // 
  11. // Adaptation developed with permission of the author by  
  12. // John F. Holliday, Technisoft Corporation 
  13. // Telephone: (515) 472-9803, CompuServe: 71271,634 
  14. //
  15. // [DMM]    25-Nov-1992: Fixed crashing on exit
  16. //            Also tabified file to tabsize of 4
  17. //
  18. //            David M. Miller, Business Visions, Inc.
  19. //            Telephone: (212) 747-6118
  20. //            CompuServe: 72676,327
  21. //            internet: dmiller@hera.sbi.com
  22. // ==========================================================Private 
  23.  
  24. //-Menu commands--------------------------------------------------- 
  25.  
  26. #define CMD_FILEOPENSHEET               101
  27. #define CMD_FILEOPENCHART               102
  28. #define CMD_FILESAVE                   104
  29. #define CMD_FILESAVEAS                   105
  30. #define CMD_FILEPRINT                   106
  31. #define CMD_FILEPRINTERSETUP           107
  32. #define CMD_EXIT                       108
  33.  
  34. #define CMD_EDITCUT                       110
  35. #define CMD_EDITCOPY                   111
  36. #define CMD_EDITPASTE                   112
  37.  
  38. #define CMD_SHEETOPTION                   120
  39.  
  40. #define CMD_CHARTOPTION                   130
  41.  
  42. #define CMD_OPTIONSSTATUS               140
  43. #define CMD_OPTIONSRIBBON               141
  44.  
  45. #define CMD_HELPINDEX                   150
  46. #define CMD_HELPKEYBOARD               151
  47. #define CMD_HELPCOMMANDS               152
  48. #define CMD_HELPPROCEDURES               153
  49. #define CMD_HELPUSINGHELP               154
  50. #define CMD_ABOUT                       155
  51.  
  52. #define CMD_WINDOWTILEVERT               160
  53. #define CMD_WINDOWTILEHORIZ               161
  54. #define CMD_WINDOWCASCADE               162
  55. #define CMD_WINDOWARRANGEICONS           163
  56. #define CMD_WINDOWCHILD                   164
  57.  
  58.  
  59. // String table constants. 
  60.  
  61. #define IDS_FONT                       100        // ribbon combobox fonts 
  62. #define IDS_SIZE                       200        // ribbon combobox sizes 
  63.  
  64. #define IDS_APPCAPTION                   300        // Application strings 
  65. #define IDS_APPNAME                       301
  66.  
  67. #define IDS_FRAMEPOPUPID               1000        // Frame window menu 
  68. #define IDS_FRAMEMENUID                   2000
  69.  
  70. #define IDS_SHEETPOPUPID               3000        // Sheet window menu 
  71. #define IDS_SHEETMENUID                   4000
  72.  
  73. #define IDS_CHARTPOPUPID               5000        // Chart window menu 
  74. #define IDS_CHARTMENUID                   6000
  75.  
  76. #define IDS_FRAMESTATUSBAR               7000        // Status bar contents 
  77. #define IDS_SHEETSTATUSBAR               7001        // when no menu is open. 
  78. #define IDS_CHARTSTATUSBAR               7002
  79.  
  80.  
  81.  
  82. // Identifiers to help use string tables for menu help descriptions for     
  83. // menu items in the Application and MDI Child system menus. 
  84.  
  85. #define CMD_SYSMENUSIZE                   0x00        /* ((SC_SIZE & 0x0FFF)         >>
  86.                                                    4) */
  87. #define CMD_SYSMENUMOVE                   0x01        /* ((SC_MOVE & 0x0FFF)         >>
  88.                                                    4) */
  89. #define CMD_SYSMENUMINIMIZE               0x02        /* ((SC_MINIMIZE & 0x0FFF)     >>
  90.                                                    4) */
  91. #define CMD_SYSMENUMAXIMIZE               0x03        /* ((SC_MAXIMIZE & 0x0FFF)     >>
  92.                                                    4) */
  93. #define CMD_SYSMENUNEXTWINDOW           0x04        /* ((SC_NEXTWINDOW & 0x0FFF) >>
  94.                                                    4) */
  95. #define CMD_SYSMENUCLOSE               0x06        /* ((SC_CLOSE & 0x0FFF)         >>
  96.                                                    4) */
  97. #define CMD_SYSMENURESTORE               0x12        /* ((SC_RESTORE & 0x0FFF)     >>
  98.                                                    4) */
  99. #define CMD_SYSMENUTASKLIST               0x13        /* ((SC_TASKLIST & 0x0FFF)     >>
  100.                                                    4) */
  101.  
  102.  
  103. //-Dialog identifiers---------------------------------------------- 
  104.  
  105. #define DLG_RIBBON                       1
  106.  
  107. // Control identifiers 
  108.  
  109. #define CTL_VERSION                       200
  110. #define CTL_BOLD                       105
  111. #define CTL_FONT                       101
  112. #define CTL_FONTTEXT                   102
  113. #define CTL_ITALIC                       106
  114. #define CTL_SIZE                       104
  115. #define CTL_SIZETEXT                   103
  116. #define CTL_UNDERLINE                   107
  117.  
  118.  
  119. // Generic control IDs 
  120.  
  121. #define CTL_OK                                      IDOK
  122. #define CTL_CANCEL                               IDCANCEL
  123.  
  124.  
  125. // Resource ID definitions 
  126.  
  127. #define IDR_FRAMEICON                   1
  128. #define IDR_FRAMEMENU                   1
  129.  
  130. #define IDR_SHEETICON                   2
  131. #define IDR_SHEETMENU                   2
  132. #define IDR_SHEETACCEL                   2
  133.  
  134. #define IDR_CHARTICON                   3
  135. #define IDR_CHARTMENU                   3
  136. #define IDR_CHARTACCEL                   3
  137.  
  138.  
  139. //-----------------------------------------------------------Public 
  140. //--------------------------------------------------------------End 
  141. #endif                            // !_INC_RESOURCE 
  142.